package com.kuang.array;

import java.util.Arrays;

/**
 * @author wuJiaWei
 * @version 1.0
 * @date 2024/8/10
 * @time 10:53:07
 */
public class Demo05 {
    public static void main(String[] args) {
        int[][] array = {{1,2},{2,3},{3,4}};
        //将数组转换为字符串
        System.out.println(Arrays.toString(array[0]));
        //将多维数组转换成字符串
        System.out.println(Arrays.deepToString(array));

    }
}
